ProXmoX VE 初始配置
由于proxmox一些功能是需要付费订阅的,虽然可以免费使用,但是每次登陆时候都会弹出如上让你订阅的通知,比较烦,我们这里通过技术手段把它屏蔽掉。
首先点击确定把它关掉,然后通过winscp打开以下文件/usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js,
或者直接在shell中使用VI等工具编辑,找到if( data.status!=='Active' ){, 替换为 if(false){
ProXmoX VE升级
vim /etc/apt/sources.list.d/pve-enterprise.list 注释掉
#deb https://enterprise.proxmox.com/debian/pve stretch pve-enterprise
也可以直接删除掉
rm -f /etc/apt/sources.list.d/pve-enterprise.list
echo "deb http://download.proxmox.com/debian/pve stretch pve-no-subscription" > /etc/apt/sources.list.d/pve-install-repo.list
wget http://download.proxmox.com/debian/proxmox-ve-release-5.x.gpg -O /etc/apt/trusted.gpg.d/proxmox-ve-release-5.x.gpg
apt update && apt dist-upgrade
Editing is enabled. Use the "Save changes" button below the editor to commit modifications to this file.